Automattic\Jetpack\Search\Search_Widget C

Total Complexity 123
Dependencies 14
Dependents 0
Total lines 1,098
Lines of code 730
Logical lines of code 292
Comment lines 288
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
widget_non_instant()
B
39 19 59
update()
B
39 17 68
form()
A
34 10 114
render_widget_edit_filter()
A
32 6 139
maybe_reformat_widget()
A
56 11 16
widget_instant()
A
49 8 32
maybe_render_sort_javascript()
S
46 5 51
__construct()
S
49 6 31
widget()
S
53 5 25
sorting_to_wp_query_param()
S
62 6 10
should_display_sitewide_filters()
S
60 5 13
form_for_instant_search()
S
47 3 43
widget_empty_instant()
S
57 4 16
widget_admin_setup()
S
48 2 36
enqueue_frontend_scripts()
S
58 3 16
is_for_current_widget()
S
78 2 3
get_sort_types()
S
67 2 7
render_widget_attr()
S
77 2 3
render_widget_option_selected()
S
73 2 4
get_allowed_taxonomies_for_widget_filters()
S
60 1 15
jetpack_search_populate_defaults()
S
61 1 14
populate_defaults_for_instant_search()
S
67 1 9
is_search_active()
S
81 1 3
activate_search()
S
81 1 3